package model;

import java.sql.Date;
import java.util.ArrayList;

public class Mesocycle {
	private User user;
	private Date date;
	private int duration;
	private ArrayList<Microcycle> microcycles;

	public Mesocycle(User user, Date date, int duration) {
		this.user = user;
		this.setMicrocycles(new ArrayList<Microcycle>());
		this.date = date;
		this.duration = duration;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public ArrayList<Microcycle> getMicrocycles() {
		return microcycles;
	}

	public void setMicrocycles(ArrayList<Microcycle> microcycles) {
		this.microcycles = microcycles;
	}
}
